home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 6: Level 6 / 17 Bit - Level 6 (1998)(Epic Marketing)[!].iso / quartz / q0527.dms / q0527.adf / ioctl.h < prev    next >
C/C++ Source or Header  |  1991-02-02  |  796b  |  40 lines

  1.  
  2. /*
  3.  *  IOCTL.H
  4.  *
  5.  *  (c)Copyright 1990, Matthew Dillon, All Rights Reserved
  6.  */
  7.  
  8. #ifndef _IOCTL_H
  9. #define _IOCTL_H
  10.  
  11. #define IOF_CMD     0x00FF
  12. #define IOF_GET     0x0000
  13. #define IOF_SET     0x1000
  14.  
  15. #define IOC_READ    1
  16. #define IOC_WRITE   2
  17. #define IOC_DUP     3
  18. #define IOC_SEEK    4
  19. #define IOC_CLOSE   5
  20. #define IOC_CEXEC   6
  21. #define IOC_MODES   7
  22.  
  23. #define IOC_SIO     8        /*    MS support */
  24.  
  25. #define IOC_ISATTY  9
  26.  
  27. #define IOC_SIGNAL    10  /*    signal bit for fd    */
  28. #define IOC_POST_BREAK    11  /*    propogate ^C through fd */
  29. #define IOC_DOMAIN    12  /*    what kind of descriptor are we? */
  30. #define IOC_GETDESC    13  /*    get actual low level desc.    */
  31.  
  32. #define IODOM_AMIGADOS    0   /*    AmigaDOS descriptor    */
  33. #define IODOM_MS    1   /*    multi-stream descriptor */
  34.  
  35.  
  36. extern int ioctl(int, int, void *);
  37.  
  38. #endif
  39.  
  40.